package com.guomei.constans;

import lombok.Getter;

@Getter
public enum CourseCode {
    /**
     * 草稿
     */
    DRAFT(0, "草稿"),

    /**
     * 已发布
     */
    RELEASE(1, "已发布"),

    /**
     * 下架
     */
    REMOVE_SHELF(2, "下架");


    private final int code;
    private final String msg;

    CourseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
